Off-center angle measurement system

ABSTRACT

An angle measurement system including a magnet coupled to a rotating member and adapted to provide a magnetic field which rotates with the rotating member about a rotational axis of the rotating member, and an integrated circuit angle sensor disposed within the magnetic field at a radially off-center position from the rotational axis. The integrated circuit angle sensor includes first and second bridges of magneto resistive elements configured to respectively provide first and second signals representative of substantially orthogonal first and second directional components of the magnetic field and together representative of an angular position of the rotating member, and a set of adjustment parameters for adjusting attributes of the first and second signals having values selected to minimize errors in the first and second signals.

BACKGROUND

Magnetic sensing devices, such as Giant Magnetoresistance (GMR) sensors, for example, are used in a wide variety of applications. For example, GMR sensors are often used for sensing the angular position of a rotating member, such as a motor shaft. In such applications, a permanent magnet, sometimes referred to as a “pill”, is typically mounted to or embedded in an end of the motor shaft and is centered on the axis of rotation. The GMR elements or resistors, which are typically connected to form one or more bridges, are also positioned so as to be centered on the axis of rotation, with the resulting output signals generated by the GMR resistors being indicative of the angular position of the rotating shaft.

However, for many reasons, such as space limitations, for example, it may not always be possible or desirable to position an angle sensor, such as a GMR sensor at the end of the rotating shaft. In such instances, toothwheels or polewheels are sometimes mounted to the rotating shaft and a magnetic sensor (e.g. a Hall effect sensor) are positioned proximate to the wheel and detect the passing of each tooth or pole to determined the angular position of the rotating shaft. However, while toothwheels and pole wheels are typically very accurate, they can be quite costly and provide only discrete (not continuous) location measurements as compared to magnetoresistive-based angle sensors, such as GMR type angle sensors, for example.

For these and other reasons, there is a need for the embodiments of the present disclosure.

SUMMARY

One embodiment provides an angle measurement system including a magnet coupled to a rotating member and adapted to provide a magnetic field which rotates with the rotating member about a rotational axis of the rotating member, and an integrated circuit angle sensor disposed within the magnetic field at a radially off-center position from the rotational axis. The integrated circuit angle sensor includes first and second bridges of magneto resistive elements configured to respectively provide first and second signals representative of substantially orthogonal first and second directional components of the magnetic field and together representative of an angular position of the rotating member, and a set of adjustment parameters for adjusting attributes of the first and second signals having values selected to minimize errors in the first and second signals.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings are included to provide a further understanding of the present invention and are incorporated in and constitute a part of this specification. The drawings illustrate the embodiments of the present invention and together with the description serve to explain the principles of the invention. Other embodiments of the present invention and many of the intended advantages of the present invention will be readily appreciated as they become better understood by reference to the following detailed description. The elements of the drawings are not necessarily to scale relative to each other. Like reference numerals designate corresponding similar parts.

FIG. 1 is an end view of an off-center angle measurement system according to one embodiment.

FIG. 2 is a side view of the off-center angle measurement system of FIG. 1.

FIG. 3 a block diagram generally illustrating one embodiment of a GMR angle sensor suitable for use with the off-center angle measurement system of FIG. 1.

FIG. 4 is a schematic diagram generally illustrating a GMR resistor configuration according to one embodiment.

FIG. 5 is a graph illustrating examples of output curves provided by the GMR angle sensor of FIG. 3.

FIG. 6 is a diagram illustrating an example of a GMR sensor positioned at a center of rotation of a magnet according to one embodiment.

FIG. 7 is a graph of angle error from non-uniform magnetic field.

FIG. 8 is a graph of simulated error caused by adjusting amplitude parameters.

FIG. 9 is a graph of simulated error caused by adjusting orthogonality parameter.

FIG. 10 is graph of error caused by radial position relative to magnet.

FIG. 11 is schematic diagram of an array of GMR resistors according to one embodiment.

FIGS. 12A through 12C illustrate examples of GMR sensor bridge configurations according to one embodiment.

FIG. 13 is a flow diagram illustrating an operating and calibration procedure according to one embodiment.

DETAILED DESCRIPTION

In the following Detailed Description, reference is made to the accompanying drawings, which form a part hereof, and in which is shown by way of illustration specific embodiments in which the invention may be practiced. In this regard, directional terminology, such as “top,” “bottom,” “front,” “back,” “leading,” “trailing,” etc., is used with reference to the orientation of the Figure(s) being described. Because components of embodiments of the present invention can be positioned in a number of different orientations, the directional terminology is used for purposes of illustration and is in no way limiting. It is to be understood that other embodiments may be utilized and structural or logical changes may be made without departing from the scope of the present invention. The following detailed description, therefore, is not to be taken in a limiting sense, and the scope of the present invention is defined by the appended claims.

FIGS. 1 and 2 respectively illustrate end and side views of an off-center GMR angle-measurement system 30 according to one embodiment which, as will be described in greater detail below, employs a plurality of adjustable GMR parameters to correct angle measurement errors caused by non-linear magnetic field lines. According to one embodiment, off-center angle measuring system 30 includes a permanent ring magnet 32, divided equally into a north pole 34 (indicated by the “filled” area) and a south pole 36 (indicated by the “shaded” area), mounted on a rotating member 38, such as a rotating motor shaft, and a GMR angle sensor 40. A magnetic field of ring magnet 32 extends from north pole 34 to south pole 36, as indicated by magnetic field lines 42 a through 42 d.

According to one embodiment, GMR angle sensor 40 comprises a semiconductor chip having a GMR resistor region 44 (i.e. a “sensitive” region) mounted on a printed circuit board (PCB) 46. According to one embodiment, PCB 46 and thus, GMR angle sensor 40, are positioned in a plane 47 parallel to a surface 48 of ring magnet 32 such that resistor region 44 is substantially centered along an x-axis 50 extending through an axis of rotation 52 of rotating shaft 38 and between an inner radius (Ri) 54 and an outer radius (Ro) 56 of ring magnet 32. For purposes of the description herein, a 0-degree angular position of rotating shaft 38 is defined as being along x-axis 50, as indicated at 58, a 90-degree position is defined as being along y-axis 60 (perpendicular to and extending through axis of rotation 52), as indicated at 62, and so on. A direction of rotation of rotating shaft 38 is by rotational arrow 64.

FIG. 3 is a block diagram generally illustrating one embodiment of GMR angle sensor 40 when configured as a semiconductor chip. As illustrated, in addition to GMR resistor region 44, GMR angle sensor 40 further includes a controller 70 and a memory 72, with memory 72 storing values for a plurality of GMR parameters 74, which will be described in greater detail below. GMR angle sensor 40 further includes a plurality of PINs, such as a supply voltage (V_(DD)) pin 76, a ground pin 78, and a data I/O pint 80.

FIG. 4 is a schematic diagram generally illustrating GMR resistor region 44 according to one embodiment. As illustrated, GMR resistor region 44 includes a pair of GMR sensor bridges 90 and 92, with sensor bridge 90 formed by four GMR resistors 94 a-94 d and sensor bridge 92 formed by four GMR resistors 96 a-96 d. According to the bridge implementation of FIG. 4, GMR sensor bridges 90 and 92 are disposed orthogonal to one another and are respectively configured to sense an x-component and a y-component of a rotating electrical field, such as the magnetic field indicated by the dashed lines at 98.

A supply voltage V_(DD) 100 is applied to a terminal 102 via pin 76 and voltage signals V_(X)+ and V_(X)− of GRM sensor bridge 90 are measured at terminals 104 and 106, and voltage signals V_(Y)+ and V_(Y)− of GMR sensor bridge 92 are measured at terminals 108 and 110. In response to an external magnetic field, such as magnetic field 98, one or more of the GMR resistors 94 a-94 d and 96 a-96 d change in their electrical resistances, causing changes in voltage signals V_(X)+ and V_(X)− at terminals 104 and 106 and voltage signals V_(Y)+ and V_(Y)− at terminals 108 and 110 which are representative of an angular position of magnetic field 98 relative to a reference vector (e.g. 0-degrees).

FIG. 5 is a graph 120 illustrating an “ideal” output signals V_(X)(COS) 122 and V_(Y)(SIN) 124 provided by GMR angle sensor 40 based respectively on voltage signals V_(X)+ and V_(X)− and voltage signals V_(Y)+ and V_(Y)− as magnetic field 98 rotates from 0-360 degrees, as indicated by the angle α at 128. As illustrated by the graph at 130, output signals V_(X)(COS) 122 and V_(Y)(SIN) 124 respectively represent x- and y-components of a vector 132 indicative of the angular position of magnetic field 98. According to one embodiment, output signals V_(X)(COS) 122 and V_(Y)(SIN) 124 are provided to an external device which determines the angular position of magnetic field 98 based on the above relationship.

As mentioned above, graph 120 represents output signals V_(X)(COS) 122 and V_(Y)(SIN) 124 under ideal conditions. Under such ideal conditions, each of the GMR resistors 94 a-94 d and 96 a-96 d are identical, and GMR sensor bridges 90 and 92 are perfectly orthogonal to one another, for example, and output signals V_(X)(COS) 122 and V_(Y)(SIN) 124 provide an exact representation of the angular position of magnetic field 98. However, in reality, due to manufacturing tolerances, there are typically inherent variations between each of the GMR resistors 94 a-94 d and 96 a-96 d which can lead to amplitude and offset variation between output signals V_(X)(COS) 122 and V_(Y)(SIN) 124. Additionally, the directions of fixed magnetic field portions of GMR resistors 94 a-94 d and 96 a-96 d are not likely to be perfectly orthogonal to one another which can phase errors between output signals V_(X)(COS) 122 and V_(Y)(SIN) 124. These amplitude, offset, and phase error, in-turn, lead to errors in the determined angular position of the magnetic field, such as magnetic field 98.

According to one embodiment, GMR sensor 40 includes a plurality of GMR parameters which are employed, such as by controller 70 (see FIG. 3), to adjust and correct output signals V_(X)(COS) 122 and V_(Y)(SIN) 124 to compensate for such variations. According to one embodiment, such GMR parameters are dynamically adjustable, such as via an input pin of GMR sensor 40, and values of GMR parameters 74 are stored in memory 72. Such GMR parameters include adjustable amplitude and offset parameters for each of the output signals V_(X)(COS) 122 and V_(Y)(SIN) 124, and an orthogonality parameter to adjust the phase of either V_(X)(COS) 122 or V_(Y)(SIN) 124. The amplitude and offset parameters are employed to substantially equalize the amplitudes of V_(X)(COS) 122 and V_(Y)(SIN) 124, and the orthogonality parameter is adjusted to as to maintain a substantially 90-degree phase shift between V_(X)(COS) 122 and V_(Y)(SIN) 124.

With reference to FIG. 1, one difficulty associated with positioning GMR angle sensor 40 off-center from permanent ring magnet 32 is that magnetic field lines at the perimeter of the magnet are bent or curved. In contrast, as illustrated by FIG. 6, when the GMR resistor region 44 of GMR sensor 40 is centered on an axis of rotation of a permanent magnet, such as that of an example pill-type permanent magnet 132 embedded in an end of a rotating shaft, such as rotating shaft 38, the magnetic field lines passing through GMR resistor region 44 are substantially linear and uniform. However, as illustrated by FIG. 1, when GMR resistor region 44 of GMR sensor 40 is positioned off-center from the axis of rotation of a permanent magnet, such as illustrated by FIG. 1, the magnetic field lines passing through GMR resistor region 44, such as magnetic field line 42 a, are curved and not uniformly spaced. This non-uniformity of the magnetic field can cause errors in output signals V_(X)(COS) 122 and V_(Y)(SIN) 124 generated by GMR angle sensor 40 which, in-turn, cause errors in the measured angle of the rotating shaft to which the permanent magnet is attached, such as rotating shaft 38 to which permanent ring magnet 32 is coupled.

FIG. 7 is a graph 140 illustrating an example of an angle error in the angular position of rotating shaft 38 measured by GMR angle sensor 40 of FIG. 1 and caused by the non-uniformity of the magnetic field at the perimeter of permanent ring magnet 32. As apparent from graph 140, the resulting angle error of curve is approximately sinusoidal in shape over a 360-degree rotation of the rotating shaft. It is noted, however, that errors in the measured angular position of rotating shaft 38 by GMR angle sensor 40 due to inherent amplitude and orthogonality variations between GMR sensor bridges, such as GMR sensor bridges 90 and 92 (and due to variations in the physical construction of GMR angle sensor 40) are also sinusoidal in nature.

For example, FIG. 8 is a graph 150 of a simulated error resulting from an amplitude difference between output signals V_(X)(COS) 122 and V_(Y)(SIN) 124. The simulation was performed by setting the GMR amplitude parameters to values which create a 1% difference in amplitude between V_(X)(COS) 122 and V_(Y)(SIN) 124 with no offset or orthogonality variations. As illustrated by graph 150, the resulting error in the angle measured by GMR angle sensor 40 is sinusoidal in nature over a 360-degree rotation of the magnetic field, with a 1% amplitude resulting in an error varying between 0 and 0.3%.

Similarly, FIG. 9 is a graph 160 of a simulated error resulting from a phase error between output signals V_(X)(COS) 122 and V_(Y)(SIN) 124. The simulation was performed by setting the orthogonality parameter to a value which creates a 0.5-degree variation from a 90-degree phase difference between V_(X)(COS) 122 and V_(Y)(SIN) 124 with no amplitude or offset variations. Again, as illustrated by graph 160, the resulting error in the angle measured by GMR angle sensor 140 is sinusoidal in nature over a 360-degree rotation of the magnetic field, with a 0.5-degree orthogonality error resulting in an error varying between 0 and 0.5%.

According to one embodiment, based on the similar sinusoidal nature of the error in the angle measured by GMR angle sensor 40 resulting from the physical variations between the GMR resistors and GMR sensor bridges and from the non-uniformity of the magnetic field, during a calibration procedure, the GMR parameters of a GMR angle sensor of an off-center GMR angle measuring system, such as GMR angle sensor 40 of off-center GMR angle measuring system 30 of FIG. 1, are adjusted to compensate for errors resulting from the non-uniformity of the off-center magnetic field as well as for error due to amplitude and orthogonality variations.

According to one embodiment, during such a calibration procedure of an off-center angle measurement system, such as off-center GMR angle-measurement system 30 of FIG. 1, rotating shaft 38 is driven so that the angular position of rotating shaft 38 is at a known or actual position during rotation, such as through use of a toothwheel or polewheel based angle measurement system which is temporarily coupled to rotating shaft 38. The angular position of rotating shaft 38 as measured by GMR angle sensor 40 is then compared to the actual position and the values of GMR parameters 74 are adjusted until an error between the angular position of rotating shaft 38 as measured by GMR angle sensor 40 and the actual position is substantially minimized. Again, by adjusting the GMR parameters of GMR angle sensor 40 in this fashion, errors in the angular position as measured by GMR angle sensor 40 resulting from both physical variations of the GMR resistors and GMR sensor bridges and from variations due the non-uniformity of the off-center magnetic field are substantially corrected.

Due to the off-center variations in the magnetic field of the magnet, such as ring magnet 32, the accuracy of the angular position of rotating shaft 38 as measured by GMR angle sensor 40 is also influenced by the position of GMR angle sensor 40 between inner radius 56 and outer radius 58 of permanent ring magnet 32. FIG. 10 is a graph illustrating examples of the magnitude of output vector 142 resulting from GMR angle sensor 40 output signals V_(X)(COS) 122 and V_(Y)(SIN) 124 when disposed at different positions along x-axis 50 between inner radius 56 and outer radius 58 as shaft 38 rotates over a range of 90-degrees (i.e. 0-90 degrees). In the illustrated example of FIG. 10, ring magnet 32 has an inner radius 56 of 3 mm, and outer radius of 8 mm, and a thickness of 3 mm, with GMR angle sensor 40 being positioned 1.5 mm from surface 48.

Curves 172, 174, 176, 178, 180, 182, and 184 respectively illustrate the magnitude of output vector 142 when GMR angle sensor 40 is positioned at radii of 4 mm, 5 mm, 6 mm, 7 mm, 8 mm, 9 mm, and 10 mm from a center of ring magnet 32. As illustrated by the curves of graph 170, the magnitude of output vector 142 varies as ring magnet 32 rotates with shaft 38, which can cause errors in the angle measurement provided by GMR angle sensor 40. The errors in the angle measurement provided by GMR angle sensor 40 can be reduced by positioning GMR angle sensor at the radial location which results in the least variation in the magnitude of output vector 142. In the example illustrated by FIG. 10, a radial position of 7 mm from a center of ring magnet 32 provides the least amount of variation in magnitude of output vector 142 and represents the best radial location at which to position GRM angle sensor 40.

In view of the above, according to one embodiment, during a calibration procedure of an off-center angle measurement system, such as off-center GMR angle-measurement system 30 of FIG. 1, a radial position of GMR angle sensor 40 relative to ring magnet 32 is adjusted to determine the location which provides the least amount of variation in output vector 142. Such a position corresponds to the position between inner radius 54 and outer radius 56 at which the magnetic field of ring magnet 32 is most uniform.

As illustrated by FIG. 11, according to one embodiment, GMR resistor region 44 includes a first plurality of GMR resistors 190, including GMR resistors 194 a-194 h, having fixed magnetic field portions fixed along an x-axis 192, for example (as indicated by the horizontal arrows in FIG. 11), and a second plurality of GMR resistors 192, including GMR resistors 196 a-196 h, having fixed magnetic field portions fixed along a y-axis 193, for example (as indicated by the vertical arrows in FIG. 11). The first plurality of GMR resistors 190 can be selectively interconnected by an associated plurality of externally controllable switches, as illustrated by switch 200, and the second plurality of GMR resistors 192 can be selectively interconnected by an associated plurality of externally controllable switches, as illustrated by switch 202, to form different GMR sensor bridge configurations (e.g. GMR sensor bridges 90 and 92 of FIG. 4) at different positions along x-axis 191.

For example, as illustrated by FIG. 12A, GMR resistors 194 a-194 d and 196 a-196 d forming the left-most columns of GMR resistor region 44 are respectively interconnected via the associated externally controllable switches to form GMR sensor bridges 204 a and 206 a at a left-most position along x-axis 190 within GMR angle sensor 40. Similarly, as illustrated by FIG. 12B, GMR resistors 194 b, 194 d, 194 e, and 194 f and 196 b, 196 d, 196 e, and 196 f forming the center-most columns of GMR resistor region 44 are respectively interconnected via the associated externally controllable switches to form GMR sensor bridges 204 b and 206 b at a central position along x-axis 190 within GMR angle sensor 40. Also, as illustrated by FIG. 12C, GMR resistors 194 e-194 h and 196 e-196 h forming the right-most columns of GMR resistor region 44 are respectively interconnected via the associated externally controllable switches to form GMR sensor bridges 204 c and 206 c at a right-most position along x-axis 190 within GMR angle sensor 40.

By selecting which GMR resistors 94 a-94 h and 96 a-96 h are connected to form the GRM sensor bridges, the radial position of the GMR sensor bridges of GMR angle sensor 40 relative to ring magnet 32 can be further, and more finely, adjusted to determine a location which provides the least amount of variation in the magnitude of output vector 142.

FIG. 13 is a flow diagram generally illustrating a process 220 for calibrating and operating an off-center angle measurement system according to one embodiment. Process 220 begins at 222 with the mounting of a magnet to a rotating shaft, such as rotating shaft 38, wherein the magnet provides a magnetic field which rotates with the shaft about a rotational axis of the shaft. In one embodiment, the magnet comprises a ring magnet, such as ring magnet 32, mounted about the shaft remote from ends of the shaft.

At 224, an integrated circuit magnetoresistive angle sensor, such as GMR angle sensor 40, is positioned in the magnetic field at a radially off-center position from the axis of rotation. According to one embodiment, the integrated circuit magnetoresistive angle sensor, includes first and second magnetoresistive sensing bridges respectively providing first and second signals representative of orthogonal first and second directional components of the magnetic field. According to one embodiment, the integrated circuit angle sensor includes a set of adjustment parameters for adjusting attributes of the first and second signals. In one embodiment, the set of adjustment parameters includes a first and a second amplitude parameter and a first and a second offset parameter for respectively adjusting an amplitude and an offset of the first and second signals. In one embodiment, the set of adjustment parameters further includes an offset parameter for one of the first and second signals to adjust a phase of the one of the first and second signals. In one embodiment, the first and second magnetoresistive sensing bridges comprises giant magnetoresistive elements. In one embodiment, the first and second magnetoresistive sensing bridges comprises anisotropic magnetoresistive elements.

At 226, a “known” angular position of the shaft is measured, such as by using a discrete-type angle sensor, such as a conventional toothwheel- or polewheel-based angle sensor, for example, which is temporarily coupled to the rotating shaft. At 228, the angular position of the rotating as measured by the integrated circuit magnetoresistive angle sensor, the “measured” angular position, is determined from the first and second signals.

At 230, the values of the set of adjustment parameters are adjusted to modify attributes of the first and second signals to compensate for errors in the measured angular position resulting from structural inaccuracies between the magneto resistive elements of the first and second bridges and from non-uniformity of the magnetic field at the off-center position until an error between the “known” angular position determined at 226 and the “measured” angular position from determined from the integrated circuit at 228 is substantially minimized.

According to one embodiment, process 220 is then complete, as indicated at 232. However, according to one embodiment, as illustrated by the dashed lines at 234, process 220 additionally includes adjusting the radial position of the integrated circuit until variations in a magnitude of a vector based on the first and second signals are substantially minimized.

According to one embodiment, such as described above by FIGS. 11 and 12A-12C, the integrated circuit magnetoresistive angle sensor includes a first set of magnetoresistive elements and an associated first plurality of switches which can be operated to selectively interconnect different subsets of the first set of magnetoresistive elements to form the first magnetoresistive sensing bridge at different positions within the integrated circuit, and a second set of magnetoresistive elements and an associated second plurality of switches which can be operated to selectively interconnect different subsets of the second set of magnetoresistive elements to form the second magnetoresistive sensing bridge at different positions within the integrated circuit.

According to one embodiment, as illustrated by the dashed lines at 236, process 220 includes adjustment of the radial position by operating the first and second pluralities of switches such that the resulting first and second magnetoresistive sensing bridges are at positions within the integrated circuit such that the variations in the magnitude of the vector are substantially minimized.

Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that a variety of alternate and/or equivalent implementations may be substituted for the specific embodiments shown and described without departing from the scope of the present invention. This application is intended to cover any adaptations or variations of the specific embodiments discussed herein. Therefore, it is intended that this invention be limited only by the claims and the equivalents thereof. 

1. An angle measurement system comprising: a magnet coupled to a rotating member and adapted to provide a magnetic field which rotates with the rotating member about a rotational axis of the rotating member; an integrated circuit angle sensor disposed within the magnetic field at a radially off-center position from the rotational axis and including: first and second bridges of magneto resistive elements configured to respectively provide first and second signals representative of substantially orthogonal first and second directional components of the magnetic field and together representative of an angular position of the rotating member; and a set of adjustment parameters for adjusting attributes of the first and second signals having values selected to minimize errors in the first and second signals.
 2. The angle measurement system of claim 1, wherein the magnet comprises a ring magnet coupled about the rotating member at a position along shaft away from ends of the shaft.
 3. The angle measurement system of claim 1, wherein the set of adjustment parameters have values selected to minimize errors in the first and second signals caused by non-uniformity of the magnetic field at the radially off-center position.
 4. The angle measurement system of claim 1, wherein the set of adjustment parameters includes a first and a second amplitude parameter and a first and a second offset parameter for respectively adjusting an amplitude and an offset of the first and second signals.
 5. The angle measurement system of claim 4, wherein the magnetoresistive elements comprise anisotropic magnetoresistive elements.
 6. The angle measurement system of claim 4, wherein the set of adjustment parameters includes an offset parameter for one of the first and second signals to adjust a phase of the one of the first and second signals.
 7. The angle measurement system of claim 6, wherein the magnetoresistive elements comprise giant magnetoresistive elements.
 8. The angle measurement system of claim 1, wherein the first and second bridges are positioned adjacent to one another along a radius extending from the rotational axis and proximate to and in parallel with a surface of the magnet.
 9. The angle measurement system of claim 1, wherein the integrated circuit is positioned at a radial distance from the axis of rotation which substantially minimizes variations in a magnitude of a position vector obtained from the first and second signals.
 10. An integrated circuit for measuring an angular position of a rotating magnet field at a radially off-center position from an axis of rotation of the magnetic field, the integrated circuit comprising: a first set of magnetoresistive elements and an associated first plurality of switches which can be operated to selectively interconnect different subsets of the first set of magnetoresistive elements to form a first sensing bridge at different positions within the integrated circuit, the first sensing bridge configured to provide a first signal representative of a first directional component of the magnetic field; and a second set of magnetoresistive elements and an associated second plurality of switches which can be operated to selectively interconnect different subsets of the second set of magnetoresistive elements to form a second sensing bridge at different positions within the integrated circuit, the second sensing bridge configured to provide a second signal representative of a second directional component of the magnetic field; wherein switches of the first and second pluralities of switches are operated such that the resulting first and second bridges are at positions within the integrated circuit that minimize errors in the first and second signals resulting from non-uniformity of the magnetic field at the radially off-center position.
 11. The integrated circuit of claim 10, wherein the first and second bridges are at positions within the integrated circuit which substantially minimize magnitude variations of a vector based on the first and second signals.
 12. The integrated circuit of claim 10, wherein the first and second bridges are adjacent to one another with the magnetic field along a radius extending from the rotational axis.
 13. The integrated circuit of claim 10, wherein the first and second sets of magnetoresistive elements comprise giant magnetoresistive elements.
 14. The integrated circuit of claim 10, wherein the first and second sets of magnetoresistive elements comprise anisotropic magnetoresistive elements.
 15. A method for off-center measurement of an angular position of a rotating shaft, comprising: providing a magnetic field which rotates with the shaft about an axis of rotation; positioning an integrated circuit having first and second magnetoresistive sensing bridges within the magnetic field at a radially off-center position from the axis of rotation, the first and second magnetoresistive sensing bridges respectively providing first and second signals representative of first and second magnetic field directions, the integrated circuit having a set of adjustment parameters for modifying attributes of the first and second signals; modifying values of the set of adjustment parameters until errors in the first and second signals are substantially minimized; and determining an angular position of the shaft based on the first and second signals.
 16. The method of claim 15, wherein the set of adjustment parameters includes a first and a second amplitude parameter and a first and a second offset parameter for respectively adjusting an amplitude and an offset of the first and second signals.
 17. The method of claim 16, wherein the first and second magnetoresistive sensing bridges comprise anisotropic magnetoresistive elements.
 18. The method of claim 16, wherein the set of adjustment parameters further includes an offset parameter to adjust a phase of one of the first and second signals, and wherein the first and second magnetoresistive sensing bridges comprise giant magnetoresistive elements.
 19. The method of claim 15, including adjusting the radially off-center position until variations in a magnitude of a vector obtained from the first and second signals resulting from the non-uniformity of the magnetic field at the radially off-center position are substantially minimized.
 20. The method of claim 15, wherein providing a magnetic field includes mounting a ring magnet about the rotating shaft away from ends of the shaft.
 21. A method of calibrating an integrated circuit magnetoresistive angle sensor for measuring an angular position of a rotating shaft, the method comprising: temporarily coupling a discrete angle sensor to the rotating shaft; providing a test signal representative of the angular position of the rotating shaft via the discrete angle sensor; positioning the integrated circuit in a magnetic field rotating with the rotating shaft at a radially off-center location from a rotational axis of the rotating shaft, the integrated circuit including a first and a second magnetoresistive sensing bridge respectively providing first and second signals representative of orthogonal first and second directional components of the magnetic field, and including a set of adjustment parameters for modifying attributes of the first and second signals; determining a measured angular position of the rotating shaft from the first and second signals; adjusting values of the set of parameters to modify attributes of the first and second signals until an error between the angular position provide by the test signal and the measured angular position from the integrated circuit is substantially minimized.
 22. The method of claim 21, including adjusting values of the set of parameters to compensate for errors in the measured angular position resulting from non-uniformity of the magnetic field at the off-center position.
 23. The method of claim 21, including: determining a magnitude of a vector based on the first and second signals; and adjusting the radial position of the integrated circuit until variations in the magnitude of the vector are substantially minimized.
 24. The method of claim 23, wherein the integrated circuit includes a first set of magnetoresistive elements and an associated first plurality of switches which can be operated to selectively interconnect different subsets of the first set of magnetoresistive elements to form the first magnetoresistive sensing bridge at different positions within the integrated circuit, and a second set of magnetoresistive elements and an associated second plurality of switches which can be operated to selectively interconnect different subsets of the second set of magnetoresistive elements to form the second magnetoresistive sensing bridge at different positions within the integrated circuit, and wherein adjusting the radial position includes operating the first and second pluralities of switches such that the resulting first and second magnetoresistive sensing bridges are at positions within the integrated circuit that the variations in the magnitude of the vector are substantially minimized.
 25. The method of claim 23, wherein the first and second magnetoresistive sensing bridges comprise giant magnetoresistive sensing elements.
 26. The method of claim 23, wherein the first and second magnetoresistive sensing bridges comprise anisotropic magnetoresistive sensing elements. 